package com.lianda.mutiple.pattern.aobj.example;

import java.util.Map;

//
public abstract class MethodMessage {

    //收集方法参数
    protected final Map<String, Object> params;

    protected final OrderService orderService;

    public MethodMessage(Map<String, Object> params, OrderService orderService) {
        this.params = params;
        this.orderService = orderService;
    }

    //work thread
    public abstract void execute();
}
